package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单分配配置对象 order_allocation_config
 *
 * @author hjf
 * @date 2025-02-14
 */
public class OrderAllocationConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 需要过滤的文字
     */
    @Excel(name = "需要过滤的文字")
    private String rule1MatchText;

    /**
     * 规则1负责人
     */
    @Excel(name = "规则1负责人")
    private String rule1UserId;

    /**
     * 0未开启1开启
     */
    @Excel(name = "0未开启1开启")
    private String rule1Switch;

    /**
     * 规则2的商品id
     */
    @Excel(name = "规则2的商品id")
    private String rule2GoodsId;

    /**
     * 规则2负责任人
     */
    @Excel(name = "规则2负责任人")
    private String rule2UserId;

    /**
     * 0未开启1开启
     */
    @Excel(name = "0未开启1开启")
    private String rule2Switch;

    /**
     * 配置的文字
     */
    @Excel(name = "配置的文字")
    private String rule3MatchText;

    /**
     * 规则3负责任人
     */
    @Excel(name = "规则3负责任人")
    private String rule3UserId;

    /**
     * 0未开启1开启
     */
    @Excel(name = "0未开启1开启")
    private String rule3Switch;

    /**
     * 配置的文字
     */
    @Excel(name = "配置的文字")
    private String rule4MatchText;

    /**
     * 规则4负责任人
     */
    @Excel(name = "规则4负责任人")
    private String rule4UserId;

    /**
     * 0未开启1开启
     */
    @Excel(name = "0未开启1开启")
    private String rule4Switch;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setRule1MatchText(String rule1MatchText) {
        this.rule1MatchText = rule1MatchText;
    }

    public String getRule1MatchText() {
        return rule1MatchText;
    }

    public void setRule1UserId(String rule1UserId) {
        this.rule1UserId = rule1UserId;
    }

    public String getRule1UserId() {
        return rule1UserId;
    }

    public void setRule1Switch(String rule1Switch) {
        this.rule1Switch = rule1Switch;
    }

    public String getRule1Switch() {
        return rule1Switch;
    }

    public void setRule2GoodsId(String rule2GoodsId) {
        this.rule2GoodsId = rule2GoodsId;
    }

    public String getRule2GoodsId() {
        return rule2GoodsId;
    }

    public void setRule2UserId(String rule2UserId) {
        this.rule2UserId = rule2UserId;
    }

    public String getRule2UserId() {
        return rule2UserId;
    }

    public void setRule2Switch(String rule2Switch) {
        this.rule2Switch = rule2Switch;
    }

    public String getRule2Switch() {
        return rule2Switch;
    }

    public void setRule3MatchText(String rule3MatchText) {
        this.rule3MatchText = rule3MatchText;
    }

    public String getRule3MatchText() {
        return rule3MatchText;
    }

    public void setRule3UserId(String rule3UserId) {
        this.rule3UserId = rule3UserId;
    }

    public String getRule3UserId() {
        return rule3UserId;
    }

    public void setRule3Switch(String rule3Switch) {
        this.rule3Switch = rule3Switch;
    }

    public String getRule3Switch() {
        return rule3Switch;
    }

    public void setRule4MatchText(String rule4MatchText) {
        this.rule4MatchText = rule4MatchText;
    }

    public String getRule4MatchText() {
        return rule4MatchText;
    }

    public void setRule4UserId(String rule4UserId) {
        this.rule4UserId = rule4UserId;
    }

    public String getRule4UserId() {
        return rule4UserId;
    }

    public void setRule4Switch(String rule4Switch) {
        this.rule4Switch = rule4Switch;
    }

    public String getRule4Switch() {
        return rule4Switch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("rule1MatchText", getRule1MatchText())
                .append("rule1UserId", getRule1UserId())
                .append("rule1Switch", getRule1Switch())
                .append("rule2GoodsId", getRule2GoodsId())
                .append("rule2UserId", getRule2UserId())
                .append("rule2Switch", getRule2Switch())
                .append("rule3MatchText", getRule3MatchText())
                .append("rule3UserId", getRule3UserId())
                .append("rule3Switch", getRule3Switch())
                .append("rule4MatchText", getRule4MatchText())
                .append("rule4UserId", getRule4UserId())
                .append("rule4Switch", getRule4Switch())
                .toString();
    }
}
